/* 初始化 */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}
.home {
  /* 导航 */
  .nav {
    margin-top: 1.333rem;
    width: 100%;
    height: 4.531rem;
    display: flex;
    flex-flow:wrap;
      > a {
        width: 20%;
        display: flex;
        flex-flow: column;
        justify-content: space-evenly;
        align-items: center;
        font-size: 0.373rem;
        color: #000;
        > img {
          width: 1.066rem;
        }
      }
  }
  //  轮播 抢购大额优惠券
  .carousel{
    width: 94%;
    height: 0.533rem;
    color: #969696;
    font-size: 0.32rem;
    margin: 0.3rem auto 0.4rem;
    overflow: hidden;
    >ul{
      overflow: hidden;
      height: 0.533rem;
      >li{
        > a {
          color: #FF3300;
          font-size: 0.373rem;
        }
        >span{
          font-size: 0.32rem;
        }
      }
    }
  }
  /* 定制推荐 */
  .recommended {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 96%;
    color: #969696;
    font-size: 0.32rem;
    margin: 0 auto 0.4rem;
    > a {
      > span {
        font-size: 0.426rem;
        font-weight: bolder;
        color: #000;
        margin-right: 0.533rem;
      }
    }
    > a:nth-child(1) {
      color: #969696;
    }
    > a:nth-child(2) {
      color: #000;
      font-size: 0.373rem;
    }
  }
  /* 定制推荐顶部 */
  .cont_top {
    width: 94%;
    height: 1.199rem;
    font-size: 0.373rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    > a {
      width: 23%;
      border-radius: 0.267rem;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  /* 定制推荐顶部下半部分 */
  .cont_bottom {
    width: 94%;
    height: 5.064rem;
    margin: 0.267rem auto;
    display: flex;
    justify-content: space-between;
    > div {
      width: 49%;
      height: 100%;
      display: flex;
      flex-wrap: wrap;
    }
    /* 定制推荐顶部左边 */
    .bottom_left {
      position: relative;
      justify-content: space-around;
      border-radius: 0.267rem;
      flex-direction: column;
      align-items: center;
      >img{
        width: 100%;
        height: 100%;
      }
      >div {
        width: 80%;
        display: flex;
        flex-flow: column;
        align-items: center;
        > a {
          position: absolute;
          z-index: 1;
        }
        a:nth-child(1) {
          top: 0.61rem;
          width: 50%;
          height: 1.333rem;
          color: #fff;
          display: flex;
          flex-flow: column;
          align-items: center;
          justify-content: center;
          background-color: rgba(0, 0, 0, 0.5);
          font-size: 0.32rem;
        }
        a:nth-child(2) {
          bottom: 0.613rem;
          width: 70%;
          height: 1.199rem;
          color: #000;
          background-color: #fff;
          padding-left: 0.027rem;
          display: flex;
          justify-content: space-evenly;
          font-size: 0.35rem;
          align-items: center;
          text-align: center;
          > img {
            width: 34%;
            height: 93%;
            margin: 0.053rem 0 0;
            align-self: flex-start;
          }
        }
      }
    }
    /* 定制推荐顶部右边 */
    .bottom_right {
      align-content: space-between;
      justify-content: space-between;
      > a {
        width: 48%;
        height: 2.399rem;
        border-radius: 0.267rem;
        position: relative;
        >img{
          width: 100%;
          height: 100%;
        }
        > div {
          width: 100%;
          height: 0.8rem;
          color: #fff;
          font-size: 0.32rem;
          display: flex;
          flex-flow: column;
          align-items: center;
          justify-content: center;
          background-color: rgba(0, 0, 0, 0.3);
          z-index: 999;
          position: absolute;
          top: 25%;
        }
      }
    }
  }
  /* 热门地点 */
  .footer {
    width: 94%;
    height: 2.665rem;
    margin: 0 auto 1.732rem;
    //margin: auto;
    display: flex;
    justify-content: space-between;
    > a {
      width: 23%;
      border-radius: 0.267rem;
      font-size: 0.32rem;
      color: #fff;
      display: flex;
      flex-flow: column;
      justify-content: space-between;
      align-items: center;
      position: relative;
      >img{
        width: 100%;
        height: 100%;
        border-radius: 0.267rem;
      }
      > div {
        display: flex;
        justify-content: center;
        font-size: 0.32rem;
        > div:nth-child(1) {
          position: absolute;
          width: 91%;
          height: 0.8rem;
          top: 0.08rem;
        }
        > div:nth-child(2) {
          position: absolute;
          width: 100%;
          bottom: 0;
          left: 0;
          height: 0.533rem;
          line-height: 0.553rem;
          background-color: #00CC99;
          align-items: center;
          border-bottom-left-radius: 0.267rem;
          border-bottom-right-radius: 0.267rem;
        }
      }
    }
  }
}
